package com.team.runsfast.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.Date;

@Data
@TableName("t_order")
public class Order {
    /**订单序号*/
    @TableId(type = IdType.AUTO)
    private Long id;
    /**购买用户id*/
    private Long uid;
    /***/
    private String no;
    /**金额*/
    private Double money=0.0;
    /**付款金额*/
    private Double paymoney;
    /**购物车ID*/
    private Long aid;
    /**备注*/
    private String info;
    /**订单状态 1.未支付 待付款 2.已支付 待发货 3.已发货 待收货 4.已收货 待确认 5.已确认 待评价 6.已评价 7.取消 8.超时*/
    private Integer flag = 1;
    /***/
    private Date ctime;

    private Integer pid;
}